            <% content_for :sidebar do -%>
            <div class="tab">
  		<h3>搜索位置</h3>
	    </div>
	    <div class="clear">
		<%= render :partial => "shared/searchCommunity" %>
	    </div>
	    
	    <div class="tab">
  		<h3>热门标签(<%= link_to "全部", tags_path %>)</h3>
	    </div>
	    <div class="clear">
		<% tag_cloud @tags, %w(nube1 nube2 nube3 nube4 nube5) do |name, css_class| -%>
                     <span class="<%=css_class%>">
                         <%= link_to name, tag_path(name) %>
                     </span>
                <% end -%>
	    </div>

	    <div class="tab">
  		<h3>最新用户(<%= link_to "所有成员", :controller => 'browse', :action => 'users' %>)</h3>
	    </div>
	    <div class="clear">
		<%= render :partial => "shared/userlist", :object => @new_users %>
	    </div>
	    
	    <div class="tab">
  		<h3>社区列表</h3>
	    </div>
	    <div class="clear">
		<%= render :partial => "districts/distlist", :object => @districts %>
                <%= image_tag("/images/loadingw.gif", :id => "loading-gif", :style => "display:none")%>
                <div id="communities_div">
                   <% if @districts.size > 0 -%>
                      <%= render :partial => "districts/smallcommlist", :object => @communities %>
                   <% end -%>
                </div>
	    </div>
	    <% end -%>
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
                当前位置 
                » <%= link_to "您这儿", :controller =>'browse', :action => 'index' %> 
            </div>
            <% end -%>
            <% if current_user.nil? %>
            <div class="tab">
                <h3>HI, 欢迎来到您这儿</h3>
            </div>
            <div class="clear">
              <p style="margin:10px 5px">您这儿是一个以北京的<i>2306</i>个小区为基础的互动社区。</p>
              <p style="margin:10px 5px">您可以将您的生活经验、小窍门发布出来，说不定您能成为咱小区的名人呢！或者去<b><%= link_to "小区论坛", forums_path%></b>八卦一下，哈哈！</p>
              <p style="margin:10px 5px">您可以成立一个<b><%= link_to "兴趣小组", groups_path%></b>，把您的邻居召集起来，周末一起踢球！</p>
              <p style="margin:10px 5px">您还可以追一下时髦，玩玩<b><%= link_to "微博客！", all_talks_path('ningle')%></b></p>
              <p style="margin:10px 5px">当然您这儿该怎么玩，最好还要看您的！</p>
              <p style="margin:10px 5px">说不定您的邻居就在这儿呢！犹豫什么，<b><%= link_to "马上注册吧！", signup_users_path%></b></p>
            </div>
            <br/>
	    <% end -%>
            <div class="box">
                <h3>
                <%= feed_icon_tag "订阅社区最新实用信息", formatted_common_all_posts_path(:format => 'rss') %> 
                社区最新实用信息......
                </h3>
                <ul class="tabs-nav">
                    <li class="active"><%= link_to "<span>社区</span>", :controller => "browse", :action => "index" %></li>
                    <li class=""><%= link_to "<span>小组</span>", :controller => "browse", :action => "groups" %></li>
                    <li class=""><%= link_to "<span>场所</span>", :controller => "browse", :action => "sites" %></li>
                    <li class=""><%= link_to "<span>论坛</span>", :controller => "browse", :action => "forums" %></li>
                </ul>
                <%= render :partial=>'shared/posts', :object => @posts%>
            </div>